package com.express.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class UserOrders {

    private Integer id;
    private Integer userId;
    private String orderNo;
    private String oddNumber;
    private String appointmentNo ;
    private String sendName;
    private String sendPhone;
    private String sendCompany;
    private String sendIsUse;
    private String receiveId;
    private String receiveAddress;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date receiveDate;
    private Integer goodsType;
    private Integer goodsNumber;
    private Integer backNumber;
    private Object weight;
    private Integer useCar;
    private Integer wholeOrder;
    private Integer status;
    private String creator;
    private String unitsInfo;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;
    private String updator;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;
    private String remark;
    private Integer isRead;
    private String backPicPath;
    private String[] pics;
    private String borrower;
    private String kuaidicom;
    private String logisticsNumber;
    // 运输方式 1、空运，2、陆运
    private Integer transport;
    private String  routingInfo;// '路由信息',

    public UserOrders() {
        super();
    }

    public UserOrders(Integer id,String orderNo,String sendName,String sendPhone,String sendCompany,String sendIsUse,String receiveId,String receiveAddress,Date receiveDate,Integer goodsType,Integer goodsNumber,Object weight,Integer useCar,Integer status,String creator,Date createDate,String updator,Date updateDate,String remark) {
        super();
        this.id = id;
        this.orderNo = orderNo;
        this.sendName = sendName;
        this.sendPhone = sendPhone;
        this.sendCompany = sendCompany;
        this.sendIsUse = sendIsUse;
        this.receiveId = receiveId;
        this.receiveAddress = receiveAddress;
        this.receiveDate = receiveDate;
        this.goodsType = goodsType;
        this.goodsNumber = goodsNumber;
        this.weight = weight;
        this.useCar = useCar;
        this.status = status;
        this.creator = creator;
        this.createDate = createDate;
        this.updator = updator;
        this.updateDate = updateDate;
        this.remark = remark;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOrderNo() {
        return this.orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getAppointmentNo() {
        return appointmentNo;
    }

    public void setAppointmentNo(String appointmentNo) {
        this.appointmentNo = appointmentNo;
    }

    public String getSendName() {
        return this.sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public String getSendPhone() {
        return this.sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    public String getSendCompany() {
        return this.sendCompany;
    }

    public void setSendCompany(String sendCompany) {
        this.sendCompany = sendCompany;
    }

    public String getSendIsUse() {
        return this.sendIsUse;
    }

    public void setSendIsUse(String sendIsUse) {
        this.sendIsUse = sendIsUse;
    }

    public String getReceiveId() {
        return this.receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public String getReceiveAddress() {
        return this.receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public Date getReceiveDate() {
        return receiveDate;
    }

    public void setReceiveDate(Date receiveDate) {
        this.receiveDate = receiveDate;
    }

    public Integer getGoodsType() {
        return this.goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getGoodsNumber() {
        return this.goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public Object getWeight() {
        return this.weight;
    }

    public void setWeight(Object weight) {
        this.weight = weight;
    }

    public Integer getUseCar() {
        return this.useCar;
    }

    public void setUseCar(Integer useCar) {
        this.useCar = useCar;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreator() {
        return this.creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateDate() {
        return this.createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdator() {
        return this.updator;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public Date getUpdateDate() {
        return this.updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Integer getBackNumber() {
        return backNumber;
    }

    public void setBackNumber(Integer backNumber) {
        this.backNumber = backNumber;
    }

    public Integer getWholeOrder() {
        return wholeOrder;
    }

    public void setWholeOrder(Integer wholeOrder) {
        this.wholeOrder = wholeOrder;
    }

    public String getBackPicPath() {
        return backPicPath;
    }

    public void setBackPicPath(String backPicPath) {
        this.backPicPath = backPicPath;
    }

    public String[] getPics() {
        return pics;
    }

    public void setPics(String[] pics) {
        this.pics = pics;
    }

    public String getBorrower() {
        return borrower;
    }

    public void setBorrower(String borrower) {
        this.borrower = borrower;
    }

    public String getKuaidicom() {
        return kuaidicom;
    }

    public void setKuaidicom(String kuaidicom) {
        this.kuaidicom = kuaidicom;
    }

    public String getLogisticsNumber() {
        return logisticsNumber;
    }

    public void setLogisticsNumber(String logisticsNumber) {
        this.logisticsNumber = logisticsNumber;
    }

    public String getOddNumber() {
        return oddNumber;
    }

    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    public String getUnitsInfo() {
        return unitsInfo;
    }

    public void setUnitsInfo(String unitsInfo) {
        this.unitsInfo = unitsInfo;
    }

    public Integer getTransport() {
        return transport;
    }

    public void setTransport(Integer transport) {
        this.transport = transport;
    }

    public String getRoutingInfo() {
        return routingInfo;
    }

    public void setRoutingInfo(String routingInfo) {
        this.routingInfo = routingInfo;
    }
}
